From: Tim Deegan Date: Fri, 15 Feb 2013 13:32:06 +0000 (+0000) Subject: arm: comment the use of second_linear_offset() in mm.c X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~7287 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=40bfe09de4ad14127c8b40273fea1aaf49522585;p=xen.git arm: comment the use of second_linear_offset() in mm.c Signed-off-by: Tim Deegan Acked-by: Ian Campbell Committed-by: Ian Campbell --- diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 7621d1ba0f..d0037fd0e1 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -41,6 +41,9 @@ struct domain *dom_xen, *dom_io, *dom_cow; /* Static start-of-day pagetables that we use before the allocators are up */ lpae_t xen_pgtable[LPAE_ENTRIES] __attribute__((__aligned__(4096))); +/* N.B. The second-level table is 4 contiguous pages long, and covers + * all addresses from 0 to 0xffffffff. Offsets into it are calculated + * with second_linear_offset(), not second_table_offset(). */ lpae_t xen_second[LPAE_ENTRIES*4] __attribute__((__aligned__(4096*4))); lpae_t xen_fixmap[LPAE_ENTRIES] __attribute__((__aligned__(4096))); static lpae_t xen_xenmap[LPAE_ENTRIES] __attribute__((__aligned__(4096)));